Release 10.1A: OpenEdge Development:
ADM and SmartObjects
SmartFilter usage notes
This section discusses special programming considerations for using SmartFilters.
Filter link as pass-through link
The Filter link that connects a SmartFilter and its data source can be implemented as a pass-through link. This allows you to create a SmartFilter in a separate SmartWindow and wait to link it to the Filter-target until you drop the SmartFilter’s SmartWindow into the Filter-target’s SmartWindow.
You can start a SmartFilter that is in a separate SmartWindow from a SmartToolbar. Follow these general steps to do this:
- Create a SmartFilter in a separate SmartWindow, specifying all necessary instance properties, and link it temporarily as a Filter-source to
THIS-PROCEDURE(the SmartWindow).- Drop this SmartWindow in a SmartWindow with a potential filter—a SmartDataObject that matches the SmartFilter—and answer Yes to the Link Advisor’s prompt about adding the Filter link to the SmartDataObject.
- Optionally, specify HideOnInit and DisableOnInit in the SmartWindow’s instance properties dialog box and start the main SmartWindow.
- Check the Filter check box in the SmartToolbar’s instance properties dialog box.
The SmartToolbar can now view and start the SmartFilter’s SmartWindow.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |